package jmc.feol.core.service;

import java.io.File;
import java.io.IOException;
import java.util.Properties;

import jmc.feol.core.model.Factura;

public interface ServicesManager {
	
	public String autorizoFactura(Long transacNr, String rutaBase, String rutaComun, String rutaArticulo);
	
	public Properties getPropertiesEmail();

	public void procesarFacturaError();
	
	public Properties getPropertiesEmail(String enviante);

	public void saveAdjuntoFactura(String transacNr, File adjunto) throws IOException;

	public void procesarFacturaByFiles();

	public Factura getFacturaById(Long idFactura);

	public String getCotizacionByMoneda(String moneda) throws Exception;

	public byte[] getFactura(long cbteNroLong, int cbteTipoInt, int prefijoInt);

	public long getLastNroCompr(int prefijoInt, int cbteTipoInt) throws Exception;

	public String gestionoFacturaABAS(String letra, Long transacNr) throws Exception;

	public void getImageCheque();

	public byte[] getByteImageCheques(String chequeNr, int parte);

	public void setChequeNr(String chequeNr, Integer parteInt);	
	
}
